cmake_minimum_required(VERSION 2.8.3)
project(pcd_extractor)

find_package(catkin REQUIRED COMPONENTS
  roscpp
  rosbag
  sensor_msgs
  pcl_conversions
  pcl_ros
  livox_ros_driver2
)

catkin_package()

include_directories(
  ${catkin_INCLUDE_DIRS}
)

add_executable(extract_pcd_from_bag src/extract_pcd_from_bag.cpp)
target_link_libraries(extract_pcd_from_bag ${catkin_LIBRARIES})